package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.MonitoringmanListMapper;
import com.ruoyi.system.domain.MonitoringmanList;
import com.ruoyi.system.service.IMonitoringmanListService;

/**
 * 监察对象表Service业务层处理
 * 
 * @author wht
 * @date 2023-09-11
 */
@Service
public class MonitoringmanListServiceImpl implements IMonitoringmanListService 
{
    @Autowired
    private MonitoringmanListMapper monitoringmanListMapper;


    /**
     * 查询监察对象表
     * 
     * @param monitoringmanName 监察对象表主键
     * @return 监察对象表
     */
    @Override
    public MonitoringmanList selectMonitoringmanListByMonitoringmanName(String monitoringmanName)
    {
        return monitoringmanListMapper.selectMonitoringmanListByMonitoringmanName(monitoringmanName);
    }

    /**
     * 查询监察对象表列表
     * 
     * @param monitoringmanList 监察对象表
     * @return 监察对象表
     */
    @Override
    public List<MonitoringmanList> selectMonitoringmanListList(MonitoringmanList monitoringmanList)
    {
        return monitoringmanListMapper.selectMonitoringmanListList(monitoringmanList);
    }

    /**
     * 新增监察对象表
     * 
     * @param monitoringmanList 监察对象表
     * @return 结果
     */
    @Override
    public int insertMonitoringmanList(MonitoringmanList monitoringmanList)
    {
        return monitoringmanListMapper.insertMonitoringmanList(monitoringmanList);
    }

    /**
     * 修改监察对象表
     * 
     * @param monitoringmanList 监察对象表
     * @return 结果
     */
    @Override
    public int updateMonitoringmanList(MonitoringmanList monitoringmanList)
    {
        return monitoringmanListMapper.updateMonitoringmanList(monitoringmanList);
    }

    /**
     * 批量删除监察对象表
     * 
     * @param monitoringmanNames 需要删除的监察对象表主键
     * @return 结果
     */
    @Override
    public int deleteMonitoringmanListByMonitoringmanNames(String[] monitoringmanNames)
    {
        return monitoringmanListMapper.deleteMonitoringmanListByMonitoringmanNames(monitoringmanNames);
    }

    /**
     * 删除监察对象表信息
     * 
     * @param monitoringmanName 监察对象表主键
     * @return 结果
     */
    @Override
    public int deleteMonitoringmanListByMonitoringmanName(String monitoringmanName)
    {
        return monitoringmanListMapper.deleteMonitoringmanListByMonitoringmanName(monitoringmanName);
    }
}
